import request from '@/utils/request'

// 质检单--质检详情
export function qcOrderDetail(params) {
  return request({
    url: '/wms_v1_pc/qc-order/get-sku',
    method: 'GET',
    params
  })
}

// 工厂外验--质检详情
export function factoryOrderDetail(params) {
  return request({
    url: '/wms_v1_pc/factory-order/get-factory-sku',
    method: 'GET',
    params
  })
}


// 质检单--质检完成
export function completeQc(data) {
  return request({
    url: '/wms_v1_pc/qc-order/complete-qc',
    method: 'POST',
    data
  })
}

// 工厂外验--质检完成
export function factoryCompleteQc(data) {
  return request({
    url: '/wms_v1_pc/factory-order/complete-factory-qc',
    method: 'POST',
    data
  })
}



// 质检单--根据sku查找待质检明细
export function readyQcOrder(params) {
  return request({
    url: '/wms_v1_pc/qc-order/ready-qc-order',
    method: 'GET',
    params
  })
}


